package nhatquang.gs.model;

import org.andengine.ui.activity.BaseGameActivity;

public class Public {
	public static BaseGameActivity activity;
	public static int WIDTH_SCREEN = 480;
	public static int HEIGHT_SCREEN = 800;
	public static int HEIGHT_MENU = 300;
	public static int HEIGHT_SPRITE = 65;
	public static int WIDTH_SPRITE = 66;
	public static float SPEED_SPRITE = 200;
	public static int LEVEL_CURRENT =1;
	public static long timeLevel = 120;
	public static int targetScore = 1500;
	public static int SUM_FRUIT_CURRENT = 3;
	public static boolean AUDIO = true;

	public static void createLevelOne(int level) {
		LEVEL_CURRENT = level;
		switch (level) {
		case 1: {
			targetScore = 1500;
			timeLevel = 120;
			SUM_FRUIT_CURRENT = 3;
		}
			break;
		case 2: {
			targetScore = 1600;
			timeLevel = 120;
			SUM_FRUIT_CURRENT = 3;
		}
			break;
		case 3: {
			targetScore = 1500;
			timeLevel = 120;
			SUM_FRUIT_CURRENT = 4;
		}
			break;
		case 4: {
			targetScore = 1500;
			timeLevel = 120;
			SUM_FRUIT_CURRENT = 4;
		}
			break;
		case 5: {
			targetScore = 1500;
			timeLevel = 120;
			SUM_FRUIT_CURRENT = 4;
		}
			break;
		case 6: {
			targetScore = 1500;
			timeLevel = 120;
			SUM_FRUIT_CURRENT = 4;
		}
			break;
		case 7: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 8: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 9: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 10: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 11: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 12: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 13: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 14: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 15: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 16: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 17: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		case 18: {
			targetScore = 1500;
			timeLevel = 120;
		}
			break;
		}
	}
}
